package cn.lg.soar.flow.api.model.node;

import cn.lg.soar.flow.api.enums.NodeStatusEnum;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author luguoxiang
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Data
public class TaskNode implements Node, Serializable {
    public static final String TYPE_CARBON_COPY = "carbon-copy";
    public static final String TYPE_NOTIFY = "notify";

    @JsonProperty("type")
    private String type;

    private String key;
    private String name;
    private String description;
    private NodeStatusEnum status;

    private List<ProcessListener> processListeners;

    @Override
    public String toXmlString() {
        return "";
    }
}